﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinFormDapper
{
    public partial class FrmSecondForm : Form
    {
        private ITestInterface _TestInterface;
        public FrmSecondForm()
        {
            InitializeComponent();
            _TestInterface = Factory.BuildTestInterface();
        }



        private void btnTest_BtnClick(object sender, EventArgs e)
        {
            textBoxEx1.Text = _TestInterface.TestMethod1(10).ToString();
        }
    }
}
